/**
 * Generali Solutions d'assurances - Tous droits rÃ©servÃ©s &copy; 2007 - 2010
 */
package fr.generali.accueilclient.resume.contrat.builder;

import fr.generali.accueilclient.resume.contrat.om.IResumeContrat;

/**
 * @author Holmes Kelly
 */
public class ResumeContratDirector {

    /**
     * 
     */
    private IResumeContratBuilder resumeContratBuilder = null;

    /**
     * @param resumeContratBuilder resumeContratBuilder
     */
    public ResumeContratDirector(IResumeContratBuilder resumeContratBuilder) {
        this.resumeContratBuilder = resumeContratBuilder;
    }

    /**
     * Appel de tous les build de resumeContratBuilder
     */
    public void constructResumeContrat() {

        resumeContratBuilder.buildAdresse();
        resumeContratBuilder.buildCategorie();
        resumeContratBuilder.buildCodeCompagnie();
        resumeContratBuilder.buildCodePortefeuille();
        resumeContratBuilder.buildCodeProduit();
        resumeContratBuilder.buildCodeStatistique();
        resumeContratBuilder.buildCoordonneesBancaires();
        resumeContratBuilder.buildDateEffet();
        resumeContratBuilder.buildDateEffetNouvelleAffaire();
        resumeContratBuilder.buildDateResiliation();
        resumeContratBuilder.buildEcheance();
        resumeContratBuilder.buildFrequence();
        resumeContratBuilder.buildModePaiement();
        resumeContratBuilder.buildMontantAnnuelHT();
        resumeContratBuilder.buildMontantAnnuelTTC();
        resumeContratBuilder.buildMotifFinActivite();
        resumeContratBuilder.buildNature();
        resumeContratBuilder.buildNatureAvenant();
        resumeContratBuilder.buildNumeroContrat();
        resumeContratBuilder.buildNumeroSuspens();
        resumeContratBuilder.buildRoles();
        resumeContratBuilder.buildStatut();
        resumeContratBuilder.buildNatureRecouvrement();
        resumeContratBuilder.buildCoSouscripteur();
        resumeContratBuilder.buildPrecision();
        resumeContratBuilder.buildModeGestion();
        resumeContratBuilder.buildSystemOrigine();
    }

    /**
     * @return IResumeContrat
     */
    public IResumeContrat getResumeContrat() {

        return resumeContratBuilder.getResumeContrat();
    }
}
